package com.ruoyi.eam.doman;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 入库从对象 eam_stock_d
 * 
 * @author ruoyi
 * @date 2024-06-20
 */
public class EamStockD extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private EamStock eamStock;

    private EamAsset eamAsset;

    private EamType eamType;

    private User  user;

    public EamStock getEamStock() {
        return eamStock;
    }

    public void setEamStock(EamStock eamStock) {
        this.eamStock = eamStock;
    }

    public EamAsset getEamAsset() {
        return eamAsset;
    }

    public void setEamAsset(EamAsset eamAsset) {
        this.eamAsset = eamAsset;
    }

    public EamType getEamType() {
        return eamType;
    }

    public void setEamType(EamType eamType) {
        this.eamType = eamType;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    /** 编号 */
    private Long stokId;

    /** 资产id */
    private Long assetId;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Long count;

    public void setStokId(Long stokId) 
    {
        this.stokId = stokId;
    }

    public Long getStokId() 
    {
        return stokId;
    }
    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stokId", getStokId())
            .append("assetId", getAssetId())
            .append("count", getCount())
            .toString();
    }
}
